import { AdvancedButton, AdvancedButtonProps } from "./AdvancedButton"

export const AdvancedButtonMap = ({ actions }: { actions?: AdvancedButtonProps[] }) => {
  if (!actions) return null

  return actions.map((action: AdvancedButtonProps, idx) => <AdvancedButton key={idx} {...action} />)
}
